package org.particlethink.auth;

import org.springframework.security.authentication.dao.DaoAuthenticationProvider;

public class CustomizedDaoAuthenticationProvider extends DaoAuthenticationProvider {
    @Override
    public boolean supports(Class<?> authentication) {
        if (authentication.equals(UserInfoAuthenticationToken.class)) {
            return true;
        }
        return super.supports(authentication);
    }
}
